Protect cleanupDomain with the refresh_shutdown_lock. This stops the device
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 21 Mar 2006 11:41:33 +0000 (12:41 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 21 Mar 2006 11:41:33 +0000 (12:41 +0100)
commit1de73a0df0f817108d3809be9070b70ddb39e264
treeefebf51bd3674cce76ee8a561a269d3d603ef9c4
parent7555524dd7da36a809612310900d94fa7932a7f9
Protect cleanupDomain with the refresh_shutdown_lock.  This stops the device
and watch teardown being run concurrently from multiple threads, silencing
the No such file or directory error when tearing down the control/shutdown
watch, and reducing load on the store.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py